import React, { FC } from "react"
import { useNavigate, Link } from "react-router-dom"
import { Button } from "antd"

const Home: FC = () => {
  const nav = useNavigate()

  function clickHandler() {
    nav({
      pathname: "/login",
      search: "b=21",
    })
  }
  return (
    <div>
      <p>
        Home <Button></Button>
      </p>
      <div>
        <button onClick={}></button>
      </div>
    </div>
  )
}
export default Home
